using System;
using System.Collections.Generic;
using System.Text;

namespace Xeml.Visualization
{
    public class SelectedElementChangedEventArgs : EventArgs
    {
        private VisualDocElement _mostTopSelectedElement;
        
        private bool _selectedStoryChanged;
        public bool SelectedStoryChanged
        {
            get { return _selectedStoryChanged; }

        }

        private bool _selectedObPointChanged;
        public bool SelectedObservationPointChanged
        {
            get { return _selectedObPointChanged; }
        }

        private bool _selectedEventChanged;
        public bool SelectedEventChanged
        {
            get { return _selectedEventChanged; }
        }

        private bool _selectedSwitchPointChanged;
        public bool SelectedSwitchPointChanged
        {
            get { return _selectedSwitchPointChanged; }
        }

        

        public VisualDocElement MostTopSelectedElement
        {
            get { return _mostTopSelectedElement; }
        }

        public SelectedElementChangedEventArgs(VisualDocElement vde, bool storyChanged, bool obPointChanged, bool eventChanged, bool switchChanged)
        {
            _selectedStoryChanged = storyChanged;
            _selectedObPointChanged = obPointChanged;
            _selectedEventChanged = eventChanged;
            _selectedSwitchPointChanged = switchChanged;
            _mostTopSelectedElement = vde;

        }
    }

    public enum VisualDocElement
    {
        ObservationPoint,
        Event,
        SwitchPoint,
        SplitDot,
        Story,
        None
    }
}
